/**
 * 
 */
package org.xelnaga.defiler.web.controller;

import org.springframework.stereotype.Component;
import org.springframework.web.util.CookieGenerator;

/**
 * @author qijb
 *
 */
@Component
public class CartCookieGenerator extends CookieGenerator {

	private static final String DEFAULT_COOKIE_NAME = CartCookieGenerator.class.getName();

	/**
	 * 
	 */
	public CartCookieGenerator() {
		setCookieName(DEFAULT_COOKIE_NAME);
		setCookieMaxAge(60 * 60 * 24 * 3);
	}

}
